WebDebug
An all-in-one web debugging tool for Web developers and front-end debugging. Built-in browser, code injection, static server, Mac remote debugging and GitHub features let you preview pages, inject scripts, debug APIs and analyze resources right on your phone.
1. Overview
WebDebug is an all-in-one web debugging tool for Web developers and front-end scenarios. It combines a built-in browser, code injection, a static server, Mac remote debugging and common GitHub features, letting you preview pages, inject scripts, debug APIs and analyze resources right on your phone.
Main features:
- Built-in browser – open any URL to debug it without switching between your computer and phone.
- Debug panels – multiple built-in panels let you view Console logs, Network requests, DOM and elements on the phone.
- Shake to view network requests – shake your phone to show the current page’s network requests, and export the request log by email.
- Code injection – save multiple CSS / JS / HTML scripts and inject them into the current page anytime.
- Static server – run a folder on your phone as a static website to cover various debugging scenarios; computers or phones on the same LAN can access it by scanning a QR code.
- Mac remote debugging – once connected to a Mac, use Safari’s Web Inspector to set breakpoints, watch network traffic and edit DOM / CSS in real time.
- GitHub integration – built-in repository search, code search, trending and profile for quick reference and remote project management.
- Common tools – more than 80 everyday development tools, all running locally and offline.
Suitable for mobile page debugging, quick HTML preview and testing, front-end script authoring and validation, local static site integration, and GitHub code search.
2. Main Features
| Feature | Description |
|---|---|
| Built-in browser | Open any URL to browse, with search, favorites, history and web cache management. |
| Debug panels | Multiple built-in panels to view Console logs, Network requests, DOM and elements on the phone. |
| Code injection | Manage multiple scripts (CSS / JS / HTML), inject on demand, switch or cancel anytime. |
| Static server | Run a phone folder as a static website, with QR access, LAN broadcast and access-code protection. |
| Mac remote debugging | Connect the phone to a Mac and use Safari Web Inspector to set breakpoints, watch network and edit DOM / CSS. |
| GitHub integration | Repository search, code search, trending, and profile (personal page / info). |
| Common tools | More than 80 development tools covering format conversion, encryption & hashing, network IP, text generation, all available offline. |
| Common settings | Adjust search engine, code injection timing and other personalization options. |
| QR scanning | Recognize QR codes via camera or photo album to quickly open the matching URL. |
2.1 Built-in Browser & Debug Panels
- Launch directly into the browser home page; a clean search bar and toolbar layout.
- Supports favorites, history, web snapshot preview and cache management.
- While browsing, summon the debug panel to view directly on the phone:
- Console – view page JS logs and errors.
- Network – view network requests and responses.
- Elements – view and edit DOM / CSS (supported by some panels).
2.2 Code Injection (Multi-Script Management)
- Enter Code Injection in the sidebar to reach the script list; create, edit, delete, enable or disable multiple scripts.
- Each script is saved independently and supports CSS, JS and HTML types.
- The browser detail page has a script button at the top that lists enabled scripts — pick one to inject.
- No auto-injection by default: even with injection timing set, you must manually select a script before it injects, to avoid accidental injection.
- Switching scripts reloads the page to take effect; Cancel Injection restores a clean page.
- The editor includes a symbol quick bar, where you can add custom strings for faster input.
Injection rules:
- CSS – write inside
<style>...</style>, or use an external link<link href="..." rel="stylesheet">. - JS – write inside
<script>...</script>, or use<script src="..."></script>. - HTML – content beyond the two tags above is inserted at the top of the page
body. - Use double quotes consistently in script content to avoid single-quote injection errors.
2.3 Built-in Static Server
- Enter Static Server in the sidebar to choose a serving folder and start / stop the server.
- The serving folder is chosen within the WebDebug folder in the app sandbox; it cannot go outside the system directory.
- While running, it shows the LAN address, local address, port and access code, with a QR code on the right for access.
- Computers or phones on the same WiFi can access it by scanning the QR code.
- Local browser access to
http://127.0.0.1:8080/needs no access code; other devices must enter the 6-digit code. - Switching folders or restoring the default restarts the server automatically if it is running, taking effect immediately.
- Default port is 8080; when occupied, it automatically moves to 8081–8090.
- Broadcasts the service over the LAN via Bonjour for easy discovery by other devices.
2.4 Mac Remote Debugging (Safari Web Inspector)
- After connecting the iPhone to a Mac, the web page being browsed in the app appears under Safari’s Develop menu.
- Set breakpoints, view network requests and edit DOM / CSS in real time.
- Requires iOS 16.4 or later.
2.5 GitHub Integration
- Repositories – search repositories on GitHub.
- Code – search code on GitHub.
- Trending – browse trending projects on GitHub.
- Profile – view your personal page and basic info.
2.6 Built-in Tools
- Enter Common Tools in the sidebar; more than 80 development tools, all running locally and offline without network.
- Covers data format conversion (JSON / YAML / TOML / XML / SQL), encoding & conversion, encryption & hashing and auth (JWT / BCrypt / RSA), network IP (subnet calc, ports, MAC), text & generators (UUID, QR code, passwords), and more.
- Quickly handle everyday format processing, encryption/decryption and generation tasks on your phone.
3. Usage Help
3.1 Quick Start
- Open the app to enter the built-in browser home page.
- Type a URL or keyword in the search bar and tap search / go.
- Once a page opens, browse it; summon the debug panel when you need to debug.
3.2 Using the Debug Panels
- Open any web page.
- Summon the debug panel through the debug entry on the browser page.
- Switch between Console / Network / Elements tabs in the panel to view debug info.
3.3 Code Injection
- Sidebar → Code Injection to enter the script list.
- Tap New and write an injection script (choose type: CSS / JS / HTML).
- After saving, tap the script button at the top of the browser detail page.
- Select the script to inject; the page reloads automatically and takes effect.
- To cancel, tap the script button again and choose Cancel Injection to restore a clean page.
3.4 Previewing Local Pages with the Static Server
- Sidebar → Static Server to enter the serving panel.
- Choose a serving folder (the WebDebug folder in the app sandbox).
- Tap Start and wait for the server to finish starting.
- On the phone, the local address
http://127.0.0.1:8080/can be accessed directly. - On other devices, ensure they connect to the same WiFi, then scan the page’s QR code or use a browser to open the displayed LAN address.
- If an access code is required, enter the displayed 6-digit code.
- When finished, tap Stop to close the service.
3.5 Mac Remote Debugging
- Connect the iPhone to the Mac with a cable or the same WiFi.
- On the Mac, open Safari → Settings → Advanced → check Show Develop menu in menu bar.
- In Safari’s Develop menu, select your phone.
- Select the web page inside the app.
- Use the full Web Inspector for breakpoints, network and DOM / CSS debugging.
3.6 Using GitHub Features
- Sidebar → GitHub.
- Enter Repositories / Code / Trending / Profile as needed.
- Search by keyword on the repository or code page.
- Browse trending projects on the trending page; view your profile in Profile.
3.7 Common Settings
- Sidebar → Common Settings.
- Adjust the search engine (e.g. Bing / Google).
- Set code injection timing (before document / after document / disabled).
- Adjust other personalization options as needed.
3.8 FAQ
- Q1: Nothing happens after code injection?
- Check whether the script content follows the injection rules (type, quote style); make sure you have selected the script to inject on the browser detail page.
- Q2: Other devices cannot access the static server?
- Confirm both devices are on the same WiFi; confirm the correct 6-digit access code; check whether the port is occupied (default 8080, can move on).
- Q3: Can’t see the web page in Mac remote debugging?
- Confirm iOS 16.4 or later; confirm the Develop menu is enabled in Safari; confirm the phone is connected to the Mac (cable or same WiFi).
- Q4: Search / page access behaves abnormally?
- Try switching the search engine in Common Settings, or clear the web cache and retry.
网页调试者
一款面向 Web 开发者与前端调试场景的一站式网页调试工具。集内置浏览器、代码注入、静态服务器、Mac 远程调试与 GitHub 常用功能于一体,让你在手机上即可完成页面预览、脚本注入、接口调试与资源分析。
一、软件介绍
「网页调试者」是一款面向 Web 开发者与前端调试场景的一站式网页调试工具,集内置浏览器、代码注入、静态服务器、Mac 远程调试与 GitHub 常用功能于一体,让您在手机上即可完成页面预览、脚本注入、接口调试与资源分析。
主要功能:
- 内置浏览器:打开任意网址即可调试,无需在电脑和手机之间来回切换;
- 调试面板:内置多种调试面板在手机上即可查看 Console 日志、Network 请求、DOM 与元素;
- 摇动查看网络请求:摇动手机即可显示当前页面发起的网络请求,还支持通过邮件导出请求记录;
- 代码注入:可保存多份 CSS / JS / HTML 脚本,随时注入当前页面;
- 静态服务器:把手机里的目录当作静态网站运行,满足各种调试场景,同一局域网下的电脑或手机扫码即可访问;
- Mac 远程调试:连接 Mac 后可用 Safari 的 Web Inspector 打断点、看网络、实时修改 DOM / CSS;
- GitHub 集成:内置仓库搜索、代码搜索、趋势、我的,方便快速查资料、管理远程项目;
- 常用工具集:内置 80 余款开发常用工具,全部本地离线运行。
适用于移动端页面调试、HTML 页面快速预览与测试、前端脚本编写验证、本地静态网站联调、GitHub 代码检索等常见开发场景。
二、主要功能
| 功能 | 说明 |
|---|---|
| 内置浏览器 | 打开任意网址浏览网页,支持搜索、收藏、历史记录、网页缓存管理。 |
| 调试面板 | 内置多种调试面板在手机上即可查看 Console 日志、Network 请求、DOM 与元素。 |
| 代码注入 | 多份脚本管理(CSS / JS / HTML),按需注入、随时切换或取消。 |
| 静态服务器 | 把手机目录当作静态网站运行,扫码访问、局域网广播、授权码保护。 |
| Mac 远程调试 | 手机连 Mac 后用 Safari Web Inspector 打断点、看网络、改 DOM / CSS。 |
| GitHub 集成 | 仓库搜索、代码搜索、趋势(Trending)、我的(个人主页 / 信息)。 |
| 常用工具集 | 内置 80 余款开发小工具,覆盖格式转换、加密哈希、网络 IP、文本生成等,全部离线可用。 |
| 常用设置 | 调整搜索引擎、代码注入时机等个性化选项。 |
| 扫码识别 | 通过摄像头或相册识别二维码,快速打开对应网址。 |
2.1 内置浏览器与调试面板
- 启动即进入浏览器主页,搜索栏 + 工具栏布局简洁;
- 支持收藏、历史记录、网页快照预览与缓存管理;
- 浏览网页时可呼出调试面板,在手机上直接查看:
- Console:查看页面 JS 日志与报错;
- Network:查看网络请求与响应;
- Elements:查看并修改 DOM / CSS(部分面板支持)。
2.2 代码注入(多脚本管理)
- 在侧边栏「代码注入」进入脚本列表,可新建、编辑、删除、启停多份脚本;
- 每份脚本独立保存,支持 CSS、JS、HTML 三种类型;
- 浏览器详情页顶部有脚本按钮,弹出已启用脚本列表,选中哪份注入哪份;
- 默认不自动注入:即使设置了注入时机,也需手动选择脚本后才注入,避免误注入;
- 切换脚本后自动重新加载页面生效,「取消注入」恢复干净页面;
- 编辑器内置符号快捷栏,可添加自定义常用字符串,方便快速输入代码。
注入小规则:
- CSS:写在
<style>...</style>内,或使用<link href="..." rel="stylesheet">外链; - JS:写在
<script>...</script>内,或使用<script src="..."></script>外链; - HTML:以上两类标签之外的内容,插入到页面
body最前面; - 脚本内容中请统一使用双引号,避免出现单引号导致注入异常。
2.3 内置静态服务器
- 在侧边栏「静态服务器」进入,可选择服务目录、启动 / 停止服务器;
- 服务目录在 App 沙盒的 WebDebug 目录内选择,不能越到系统目录;
- 运行中会显示局域网地址、本机地址、端口与授权码,右侧提供访问二维码;
- 同一 WiFi 下的电脑或手机扫码即可访问;
- 本机浏览器访问
http://127.0.0.1:8080/无需授权码,其他设备访问需输入 6 位授权码; - 切换目录或恢复默认目录后,若服务器正在运行会自动重启,立即生效;
- 默认端口 8080,被占用时自动顺延到 8081-8090;
- 会通过 Bonjour 在局域网广播服务,方便其他设备发现。
2.4 Mac 远程调试(Safari Web Inspector)
- iPhone 连接 Mac 后,在 Safari 的「开发」菜单中可以看到 App 内正在浏览的网页;
- 可对页面打断点、查看网络请求、实时修改 DOM 与 CSS;
- 需要 iOS 16.4 及以上版本。
2.5 GitHub 集成
- 仓库(搜索):搜索 GitHub 上的仓库;
- 代码(搜索):搜索 GitHub 上的代码;
- 趋势:查看 GitHub Trending 热门项目;
- 我的:查看个人主页与基本信息。
2.6 内置工具集(Tools)
- 侧边栏「常用工具」进入,内置 80 余款开发小工具,全部本地离线运行、无需联网;
- 覆盖数据格式转换(JSON / YAML / TOML / XML / SQL)、编码与转换、加密哈希与认证(JWT / BCrypt / RSA)、网络 IP(子网计算、端口、MAC)、文本与生成器(UUID、二维码、密码)等;
- 在手机上即可快速完成日常开发中的格式处理、加解密与生成类小任务。
三、使用帮助
3.1 快速开始
- 打开 App,进入内置浏览器主页;
- 在搜索栏输入网址或关键词,点击搜索 / 前往;
- 打开网页后即可浏览,需要调试时呼出调试面板。
3.2 如何使用调试面板
- 打开任意网页;
- 通过浏览器页面上的调试入口呼出调试面板;
- 在面板中切换 Console / Network / Elements 等页签查看调试信息。
3.3 如何进行代码注入
- 侧边栏 →「代码注入」,进入脚本列表;
- 点击「新建」,编写一份注入脚本(选择类型:CSS / JS / HTML);
- 保存后,在浏览器详情页顶部点击脚本按钮;
- 选择要注入的脚本,页面自动重新加载并生效;
- 需要取消时,再次点击脚本按钮选择「取消注入」恢复干净页面。
3.4 如何用静态服务器预览本地页面
- 侧边栏 →「静态服务器」,进入服务面板;
- 选择服务目录(App 沙盒内的 WebDebug 目录);
- 点击「启动」,等待服务器启动完成;
- 在手机上,本机可直接访问
http://127.0.0.1:8080/; - 在其他设备上,保证与手机连接同一 WiFi,扫描页面二维码或用浏览器访问显示的局域网地址;
- 如需授权码,输入页面显示的 6 位授权码即可;
- 使用完毕点击「停止」关闭服务。
3.5 如何使用 Mac 远程调试
- 用数据线或同一 WiFi 将 iPhone 连接 Mac;
- Mac 打开 Safari → 设置 → 高级 → 勾选「在菜单栏中显示『开发』菜单」;
- 在 Safari 的「开发」菜单中选择你的手机;
- 选择 App 内的网页;
- 即可使用完整的 Web Inspector 进行断点、网络与 DOM / CSS 调试。
3.6 如何使用 GitHub 功能
- 侧边栏 →「GitHub」;
- 根据需要进入「仓库 / 代码 / 趋势 / 我的」;
- 在仓库或代码页输入关键词搜索;
- 在趋势页浏览热门项目,在「我的」查看个人主页。
3.7 常用设置
- 侧边栏 →「常用设置」;
- 可调整搜索引擎(如 Bing / Google 等);
- 可设置代码注入时机(文档前 / 文档后 / 禁用);
- 其他个性化选项按需调整。
3.8 常见问题(FAQ)
- Q1:代码注入后页面没反应?
- 检查脚本内容是否符合注入规则(类型、引号规范);确认在浏览器详情页已选择要注入的脚本。
- Q2:静态服务器其他设备访问不了?
- 确认两台设备连接的是同一个 WiFi;确认已输入正确的 6 位授权码;检查端口是否被占用(默认 8080,可顺延)。
- Q3:Mac 远程调试看不到网页?
- 确认 iOS 16.4 及以上;确认 Safari 已开启「开发」菜单;确认手机已连接 Mac(数据线或同一 WiFi)。
- Q4:搜索 / 访问网页出现异常?
- 可尝试在常用设置中切换搜索引擎,或清理网页缓存后重试。